<%-- 
    Document   : disciplinaList
    Created on : 13/08/2011, 10:41:30
    Author     : Graciano
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@include file="../../WEB-INF/imports.jspf" %>
<link rel="stylesheet" type="text/css" href="css/tabela.css" />
<div align="center">
    <p>Disciplinas</p>
    <mtw:form method="post" action="DisciplinaRead.mtw">
        Pesquisar:
        <mtw:input type="text" name="nome"/>
        <mtw:submit value="Buscar"/>
        <input type="button" value="Nova Disciplina" onclick="location. href='DisciplinaShowForm.mtw'"/>
    </mtw:form>
    <br />
</div>
<div align="center">
    <display:table id="pojo" cellspacing="0" name="pojos" requestURI="" pagesize="10">
        <display:column property="nome" sortable="true"/>
        <display:column title="Descrição" property="descricao" sortable="true"/>
        <display:column property="curso" sortable="true"/>
        <display:column value="<a href=\"DisciplinaShowForm.mtw?id=${pojo.id}\">alterar</a>"/>
        <display:column value="<a href=\"DisciplinaDelete.mtw?id=${pojo.id}\">excluir</a>"/>
    </display:table>
</div>
<br><br>